

package com.wtf.generator.dao;

import java.util.List;
import java.util.Map;

/**
 * date: 2022/6/18 10:59
 * @author linhuanyou
 * @email 496558736@qq.com
 * @version 1.0
 */
public interface GeneratorDao extends DsDbDao{

    List<Map<String, Object>> queryForList(String sql);

    Map<String, Object> queryForMap(String sql);

    <T> T queryForObject(String sql, Class<T> requiredType);

    <T> List<T> queryForList(String sql, Class<T> elementType);

}
